﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Silverdraw.Server
{
    // NOTE: If you change the interface name "IDuplexDrawCallback" here, you must also update the reference to "IDuplexDrawCallback" in Web.config.
    [ServiceContract(CallbackContract = typeof(IDuplexDrawCallback))]
    public interface IDuplexDrawService
    {
        [OperationContract(IsOneWay = true)]
        void Register(string name);
        [OperationContract(IsOneWay = true)]
        void Draw(string data);
    }
}
